<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ is_domain_top() ?'':config('region.region.city', '') }}装饰公司 装修公司大全 {{ is_domain_top() ?'':config('region.region.city', '') }}家装公司排行-蚂蚁馆嘉装</title>
    <meta name="author" content="author">
    <meta name="keywords"
          content="{{ is_domain_top() ?'':config('region.region.city', '') }}装饰公司大全,{{ is_domain_top() ?'':config('region.region.city', '') }}}家装公司,{{ is_domain_top() ?'':config('region.region.city', '') }}装修设计公司,{{ is_domain_top() ?'':config('region.region.city', '') }}装修企业名单,{{ is_domain_top() ?'':config('region.region.city', '') }}软装公司,蚂蚁馆嘉装">
    <meta name="description"
          content="{{ is_domain_top() ?'':config('region.region.city', '') }}蚂蚁馆嘉装是一家汇聚{{ is_domain_top() ?'':config('region.region.city', '') }}装饰公司、{{ is_domain_top() ?'':config('region.region.city', '') }}装修设计公司的互联网装修平台,为广大业主提供苏州装修效果图、{{ is_domain_top() ?'':config('region.region.city', '') }}装修材料等资讯,业主通过蚂蚁馆找装饰公司可享受第三方保障服务,使业主自己装修也很轻松！">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Window-target" content="_top">
    <meta name="robots" content="none">
    <!-- 收藏图标 -->
    <!-- <link rel="Shortcut Icon" href="favicon.ico"> -->
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="{{ asset('web/style/bootstrap.min.css') }}" rel="stylesheet">
    <link rel="stylesheet" href="{{ asset('web/style/comm.css') }}">
    <link rel="stylesheet" href="{{ asset('web/font/iconfont.css') }}">
    <script src='https://cdn.staticfile.org/vue/2.2.2/vue.min.js'></script>
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="{{ asset('web/style/idangerous.swiper.css') }}">
    <link rel="stylesheet" href="{{ asset('web/style/demo5.css') }}">
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?eb959a0f08e8a123dcbd729738b9ed8e";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>

<body>
<div id="app">
    <!-- 头部登录部分 -->
    <div class="head">
        <div class="content clearfix">
            <div class="pull-left">
                @if(config('region.region.url', '') && is_domain_top())
                    <i class="iconfont icon-dizhi"></i>
                    <span>全国</span>
                    <a href="{{ url('region') }}"> [切换]</a>
                    <a href="{{ config('region.region.url', '') }}" target="_blank"
                       style="margin-left: 5px; color: beige;">
                        快速进入 >
                        <span style="color: red;">{{ config('region.region.city', '') }}站</span>
                    </a>
                @elseif(!is_domain_top())
                    <i class="iconfont icon-dizhi"></i>
                    <span>{{ config('region.region.city', '') }}</span>
                    <a href="{{ generate_is_top_url('/region') }}">[切换]</a>
                @endif
            </div>
            <div class="pull-right">
                <a href="javascript:;">登录</a>
                <a href="javascript:;">注册</a>
            </div>
        </div>
    </div>
    <div class="nav">
        <div class="content">
            <div class="pull-left">
                <a href="{{ url('/') }}"><img src="{{ asset('web/images/logo.png') }}" alt="" class="logo"></a>
            </div>
            <div class="pull-left">
                <div class="list">
                    @if(is_domain_top())
                        <a href="{{ url('/')}}">首页</a>
                        <a href="{{ url('/strategy')}}">自己装修攻略</a>
                        <a href="{{ url('/designer') }}">独立设计师</a>
                        <a href="javascript:;" class="active">装修公司</a>
                        <a href="{{ url('case') }}">效果图</a>
                        <a href="{{ url('jiancaiku') }}">建材</a>
                        <a href="{{ url('jiaju') }}">家具</a>
                        <a href="{{ url('baike/index') }}" target="_blank">百科</a>
                    @else
                        <a href="{{ url('/') }}">首页</a>
                        <a href="javascript:;">独立设计师</a>
                        <a href="javascript:;">装修师傅</a>
                        <a href="javascript:;">装修监理</a>
                        <a href="{{ url('jiancaiku') }}">本地建材</a>
                        <a href="{{ url('jiaju') }}">家具</a>
                        <a href="javascript:;">软装</a>
                    @endif

                </div>
            </div>
{{--            <div class="pull-right">--}}
{{--                <label class="search">--}}
{{--                    <input type="text" placeholder="请输入"/>--}}
{{--                    <i class="iconfont icon-sousuo basecolor"></i>--}}
{{--                </label>--}}
{{--            </div>--}}
        </div>
    </div>
    <div class="content">
        <div class="content-left">
            <div class="renovation">
                <span>{{ is_domain_top() ?'全国':config('region.region.city', '') }}装修</span><b>></b><span>{{ is_domain_top() ?'全国':config('region.region.city', '') }}装修公司</span><b>></b><span>共<em>{{ $archive->total() }}</em>结果</span>
                <div class="r">
                    <select name="parent_id" id="">
                        @foreach($regions->where('level',1) as $item)
                            <option value="{{ $item->id }}">{{ $item->name }}</option>
                        @endforeach
                    </select>
                    <select name="child_id" id="">
                        <option value="">请选择</option>
                    </select>
                    <button>搜索</button>
                </div>
            </div>
{{--            <div class="renovation-introduce">--}}
{{--                <div class="renovation-list">--}}
{{--                    <ul>--}}
{{--                        <li>--}}
{{--                            <div class="renovation-present">--}}
{{--                                <span>服务区域</span>--}}
{{--                                <span class="renovation-whole">全部</span>--}}
{{--                            </div>--}}
{{--                            <div class="renovation-area">--}}
{{--                                --}}{{--<span>吴中区</span>--}}
{{--                                --}}{{--<span>姑苏区</span>--}}
{{--                                --}}{{--<span>新区</span>--}}
{{--                                --}}{{--<span>园区</span>--}}
{{--                            </div>--}}
{{--                        </li>--}}
{{--                    </ul>--}}
{{--                </div>--}}
{{--            </div>--}}
            <div class="renovation-second">
                <ul class="renovation-ul">
                    <li class="current">综合</li>
                    {{--<li>案例</li>--}}
                    {{--<li>信用</li>--}}
                </ul>
            </div>
            <div class="renovation-content">
                @foreach($archive as $item)
                    <div class="renovation-for">
                        <div class="renovation-introduce">
                            <div class="renovation-logo">
                                <img src="{{ asset('web/images/person4.png') }}">
                            </div>
                            <div class="renovation-info">
                                <div class="renovation-text">
                                    <a href="{{ generate_is_top_url('/company',$item, $item->id) }}" style="color: black;"><h3
                                                class="renovation-h3">{{ $item->name }}</h3>
                                    </a>
                                    <div class="renovation-icon">
                                        <span class="yellow">资质认证</span>
                                        <span class="orange">优质公司</span>
                                        <span class="green">诚信商家</span>
                                    </div>
                                    <div class="renovation-num">
                                        <div class="renovation-box">
                                            <div class="renovation-form">
                                                <img src="{{ asset('web/images/slidebar.png') }}">
                                                <span>案例：</span>
                                                <span>0</span>
                                            </div>
                                        </div>
                                        <div class="renovation-box renovation-person">
                                            <div class="renovation-form">
                                                <img src="{{ asset('web/images/person5.png') }}">
                                                <span>设计师：</span>
                                                <span>0</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="renovation-iphone">
                                    <h3>咨询热线</h3>
                                    <div class="renovation-telephone">
                                        <span><img src="{{ asset('web/images/telephone1.png') }}"></span>
                                        {{ $item->tel }}
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="renovation-img">
                            <ul>
                                <li>
                                    <img src="{{ asset('web/images/photo1.png') }}">
                                </li>
                                <li>
                                    <img src="{{ asset('web/images/photo2.png') }}">
                                </li>
                                <li>
                                    <img src="{{ asset('web/images/photo3.png') }}">
                                </li>
                                <li>
                                    <img src="{{ asset('web/images/photo4.png') }}">
                                </li>
                            </ul>
                        </div>
                    </div>
                @endforeach
                {{ $archive->links() }}
            </div>
        </div>
        <div class="content-right">
            <div class="renovation-title">
                <span class="renovation-inline"><img src="{{ asset('web/images/bang1.png') }}"></span>
                <span class="renovation-inline"><h3>推荐商家</h3></span>
                <span class="renovation-inline"><img src="{{ asset('web/images/bang2.png') }}"></span>
            </div>
            <div class="renovation-ranking">
                <ul>
                    @foreach($top as $key => $item)
                        <li>
                            <div class="renovation-sort">
                                <span class="number-wet number-color{{ $key > 0 ? $key + 1 : '' }}">{{ $key+1 }}</span>
                                <img src="{{ asset('web/images/person4.png') }}">
                                <a href="{{ generate_is_top_url('/company',$item, $item->id) }}" style="color: black;">
                                    <span class="renovation-name" style="font-size:18px;">{{ $item->name }}</span>
                                </a>
                            </div>
                        </li>
                    @endforeach
                    @foreach($recommend as $key => $item)
                        <li>
                            <div class="renovation-sort">
                                <span class="number-wet number-color4">{{ $key+4 }}</span>
                                <img src="{{ asset('web/images/person4.png') }}">
                                <a href="{{ generate_is_top_url('/company',$item, $item->id) }}" style="color: black;">
                                    <span class="renovation-name" style="font-size:18px;">{{ $item->name }}</span>
                                </a>
                            </div>
                        </li>
                    @endforeach
                </ul>
            </div>
            <div class="renovation-home">
                <img src="{{ asset('web/images/long.png') }}">
            </div>
            <div class="renovation-ranking">
                <ul>
                    @foreach($article as $key => $item)
                        <li>
                            <div class="renovation-sort">
                                <span class="number-wet number-color4">{{ $key+1 }}</span>
                                <img src="{{ $item->media->path }}">
                                <a href="{{ url('baike', $item->id) }}" style="color: black;">
                                    <span class="renovation-name" style="font-size:18px;">{{ $item->title }}</span>
                                </a>
                            </div>
                        </li>
                    @endforeach
                </ul>
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <div class="li4">
        <div class="content">
            <div class="pull-left">自己装修也很轻松!</div>
            <div class="m footzhuanshi">
                <img src="{{ asset('web/images/zhuanshi.png') }}" alt="">
                <div class="text">
                    <div>蚂蚁嘉装一站式贴心服务</div>
                    <span>为您提供最优质的服务</span>
                </div>
            </div>
            <ul class="pull-right">
                <li>
                    <div class="img"></div>
                    <div>xxxx公众号</div>
                </li>
                <li>
                    <div class="img"></div>
                    <div>xxxx公众号</div>
                </li>
                <li>
                    <div class="img"></div>
                    <div>xxxx公众号</div>
                </li>
            </ul>
        </div>
    </div>
    <div class="footer">
        <div class="content">
            <div class="aboutUs">
                <div class="t">
                    <a href="javascript:;">关于我们</a>
                    <a href="javascript:;">联系我们</a>
                    <span>网站备案号： 苏ICP备17055766号 www.mayiguan.com</span>
                    <span>蚂蚁家装保留所有权利</span>
                </div>
                <div class="b">
                    <div>免责声明：网站资源均有公共信息网站信息下载或网友自行上传，如发现本网站信息涉及版权或有侵权嫌疑等，请联系邮箱网站客服，蚂蚁馆嘉装将在第一时间予以更改或删除。</div>
                    <div>邮箱：xxxx@qq.com</div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="{{ asset('web/js/jquery.min.js') }}"></script>
<script src="{{ asset('web/js/comm.js') }}"></script>
<script src="{{ asset('web/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('web/js/idangerous.swiper.min.js') }}"></script>
<script>
    new Vue({
        el: '#app',
        data: {}
    })

    var banner = new Swiper('.swiper-container', {
        autoplay: 5000,//可选选项，自动滑动
        loop: true,//可选选项，开启循环
        pagination: '.pagination2',
        autoplayDisableOnInteraction: false
    })
    var mySwiper = new Swiper('.cases', {
        autoplay: 5000,//可选选项，自动滑动
        loop: true,//可选选项，开启循环
        pagination: '.pagination',
        autoplayDisableOnInteraction: false
    })
    var presonlist = new Swiper('.personlist', {
        autoplay: 2000,//可选选项，自动滑动
        loop: true,//可选选项，开启循环
        pagination: '.pagination',
        slidesPerView: 5,
        autoplayDisableOnInteraction: false,
        loopedSlides: 5
    })
    $(function () {
        //左侧公司名截取
        var ele = $(".renovation-h3");
        for (var i = 0; i < ele.length; i++) {
            var str = $(ele[i]).text();
            if (str != null && str.length > 15) {
                var newStr = str.replace(/\s*/g, "");
                var newStrCont = newStr.substr(0, 15) + "...";
                $(ele[i]).text(newStrCont);
            }
        }

        //右侧公司名截取
        var element = $(".renovation-name");
        for (var i = 0; i < element.length; i++) {
            var str = $(element[i]).text();
            if (str != null && str.length > 8) {
                var newStr = str.replace(/\s*/g, "");
                var newStrCont = newStr.substr(0, 8) + "...";
                $(element[i]).text(newStrCont);
            }
        }

    })

</script>
</body>
</html>